projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
45d896a
)
testsuite: Add deprecation guards for ATK deprecations
author
Benjamin Otte
<otte@redhat.com>
Mon, 16 Sep 2013 13:40:54 +0000
(15:40 +0200)
committer
Benjamin Otte
<otte@redhat.com>
Mon, 16 Sep 2013 13:41:15 +0000
(15:41 +0200)
testsuite/a11y/text.c
patch
|
blob
|
history
diff --git
a/testsuite/a11y/text.c
b/testsuite/a11y/text.c
index c18c823643e36f4ba18abb9935ebc7c11347f9b8..93c585317e60b1c9b4c0f07d61a82341be09637d 100644
(file)
--- a/
testsuite/a11y/text.c
+++ b/
testsuite/a11y/text.c
@@
-828,6
+828,7
@@
test_words (GtkWidget *widget)
continue;
}
+ G_GNUC_BEGIN_IGNORE_DEPRECATIONS;
switch (expected[i].gravity)
{
case -1:
@@
-852,6
+853,7
@@
test_words (GtkWidget *widget)
g_assert_not_reached ();
break;
}
+ G_GNUC_END_IGNORE_DEPRECATIONS;
g_assert_cmpstr (word, ==, expected[i].word);
g_assert_cmpint (start, ==, expected[i].start);